<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri="http://java.sun.com/jsp/jstl/core" %>
<script>
$(document).ready(function(){
	$("nav").css({
		"border-right":"3px solid #b1aea6"
	});
	$("ul.gn-submenu.taxi-type").css({
		"display":"none"
	});
	$("li.call-taxi").click(function(){
		if($("ul.gn-submenu.taxi-type").css("display") == "none"){
			$("ul.gn-submenu.taxi-type").css({
				"display":"block"
			});		
		}else{
			$("ul.gn-submenu.taxi-type").css({
				"display":"none"
			});
		}
	});
});
</script>
<li class="gn-trigger">
	<a class="gn-icon gn-icon-menu"><span>Menu</span></a>
	<nav class="gn-menu-wrapper">
		<div class="gn-scroller">
			<ul class="gn-menu">
				<li class="gn-search-item">
					<input placeholder="Search" type="search" class="gn-search">
					<a class="gn-icon gn-icon-search"><span></span></a>
				</li>
				<c:if test="${sessionScope.login_info != null}">
				<li class="call-taxi">
					<a class="gn-icon gn-icon-download">콜택시 부르기</a>
					<ul class="gn-submenu taxi-type">
						<li><a class="gn-icon gn-icon-illustrator" href="clientRequest.do">일반택시</a></li>
						<li><a class="gn-icon gn-icon-photoshop" href="clientRequest.do">모범택시</a></li>
					</ul>
				</li>
				<li><a class="gn-icon gn-icon-help" href="/kosta_project_final_taxi/list2.do?page=${param.page }">분실물 찾기확인</a></li>
				</c:if>
				<c:if test="${sessionScope.login_info != null && sessionScope.login_info.memberType == 1}">
				<li><a class="gn-icon gn-icon-cog" href="/kosta_project_final_taxi/writeForm.do">공지사항 쓰기</a></li>
				</c:if>
				<c:if test="${sessionScope.login_info != null && sessionScope.login_info.memberType == 2}">
				<li><a class="gn-icon gn-icon-help" href="/kosta_project_final_taxi/writeForm2.do">분실물 찾기등록</a></li>
				<li><a class="gn-icon gn-icon-archive" href="driverRequestWait.do">손님 대기</a></li>
				</c:if>
			</ul>
		</div><!-- /gn-scroller -->
	</nav>
</li>